package com.augmentum.login.model;

import java.io.Serializable;

public class Question implements Serializable{

    private static final long serialVersionUID = 1L;

    private int id;
    private String description;
    private String optionA;
    private String optionB;
    private String optionC;
    private String optionD;
    private String answer;
    private String questionId;
    private String state;

    public Question() {

    }

    public String getOptionA() {
        return optionA;
    }

    public void setOptionA(String optionA) {
        this.optionA = optionA;
    }

    public String getOptionB() {
        return optionB;
    }

    public void setOptionB(String optionB) {
        this.optionB = optionB;
    }

    public String getOptionC() {
        return optionC;
    }

    public void setOptionC(String optionC) {
        this.optionC = optionC;
    }

    public String getOptionD() {
        return optionD;
    }

    public void setOptionD(String optionD) {
        this.optionD = optionD;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public int getId() {
        return id;
    }

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Question [id=");
        builder.append(id);
        builder.append(", description=");
        builder.append(description);
        builder.append(", optionA=");
        builder.append(optionA);
        builder.append(", optionB=");
        builder.append(optionB);
        builder.append(", optionC=");
        builder.append(optionC);
        builder.append(", optionD=");
        builder.append(optionD);
        builder.append(", answer=");
        builder.append(answer);
        builder.append(", questionId=");
        builder.append(questionId);
        builder.append(", state=");
        builder.append(state);
        builder.append("]");
        return builder.toString();
    }
}
